import { render } from "nprogress";

export default {
  goOutContent: [
    { title: "日期", prop: "date", width: 140,fixed:"left" },
    { title: "路段", prop: "roadName", width: 110,fixed:"left" },
    { title: "收费站", prop: "deptName", width: 130,fixed:"left" },
    { title: "稽核员", prop: "userName",fixed:"left" },
    {
      title: "内部稽核",
      children: [
        {
          title: "入口丢轴稽核",
          children: [
            { title: "总量", prop: "rkdzTotal" },
            { title: "处理", prop: "rkdzCount" },
            { title: "剩余", prop: "rkdzLeftCount" },
          ],
        },
        {
          title: "称重检测数据稽核",
          children: [
            { title: "总量", prop: "czjcTotal" },
            { title: "处理", prop: "czjcCount" },
            { title: "剩余", prop: "czjcLeftCount" },
          ],
        },
      ],
    },
    {
      title: "特情稽核",
      children: [
        {title:"出口特情稽核",children:[
          { title: "总量", prop: "cktqTotal" },
        { title: "处理", prop: "cktqCount" },
        { title: "剩余", prop: "cktqLeftCount" },
        ]}
        
      ],
    },
    {
      title: "逃费稽核",
      children: [
        {
          title: "车型不符稽核",
          children: [
            { title: "总量", prop: "cxbfTotal" },
            { title: "处理", prop: "cxbfCount" },
            { title: "剩余", prop: "cxbfLeftCount" },
          ],
        },
        {
          title: "有入无出稽核",
          children: [
            { title: "总量", prop: "yrwcTotal" },
            { title: "处理", prop: "yrwcCount" },
            { title: "剩余", prop: "yrwcLeftCount" },
          ],
        },
      ],
    },
    {
      title: "工单发起",
      children: [
        { title: "加入省内黑名单", prop: "jrsnhmdCount" },
        { title: "转部级追缴", prop: "zbjzjCount" },
      ],
    },
    {
      title: "对账平台",
      children: [
        { title: "总量", prop: "dzptTotal" },
        { title: "处理", prop: "dzptCount" },
        { title: "剩余", prop: "dzptLeftCount" },
      ],
    },

    { title: "工单量", prop: "gdTotal" },
    { title: "完成量", prop: "gdWCCount" },
    { title: "完成率", prop: "wcRate",render:(text)=>{return parseFloat((text*100).toPrecision(12))+"%"} },
    // {
    //   title: "稽核分析系统印证资料",
    //   width: 110,
    //   prop: "auditPicture",
    //   render: (text, record) => {
    //     let arr = text?text.split(","):[];
    //     return arr.length;
    //   },
    // },
    // {
    //   title: "对账平台印证资料",
    //   width: 110,
    //   prop: "dzptPicture",
    //   render: (text) => {
    //     let arr = text?text.split(","):[];
    //     return 1;
    //   },
    // },
  ],
  goOutContentStatistics: [
    // { title: "路段", prop: "roadName", width: 110,fixed:"left" },
    // { title: "收费站", prop: "deptName", width: 130,fixed:"left" },
    {
      title: "内部稽核",
      children: [
        {
          title: "入口丢轴稽核",
          children: [
            { title: "总量", prop: "rkdzTotal" },
            { title: "处理", prop: "rkdzCount" },
            { title: "剩余", prop: "rkdzLeftCount" },
          ],
        },
        {
          title: "称重检测数据稽核",
          children: [
            { title: "总量", prop: "czjcTotal" },
            { title: "处理", prop: "czjcCount" },
            { title: "剩余", prop: "czjcLeftCount" },
          ],
        },
      ],
    },
    {
      title: "特情稽核",
      children: [
        {title:"出口特情稽核",children:[
          { title: "总量", prop: "cktqTotal" },
        { title: "处理", prop: "cktqCount" },
        { title: "剩余", prop: "cktqLeftCount" },
        ]}
        
      ],
    },
    {
      title: "逃费稽核",
      children: [
        {
          title: "车型不符稽核",
          children: [
            { title: "总量", prop: "cxbfTotal" },
            { title: "处理", prop: "cxbfCount" },
            { title: "剩余", prop: "cxbfLeftCount" },
          ],
        },
        {
          title: "有入无出稽核",
          children: [
            { title: "总量", prop: "yrwcTotal" },
            { title: "处理", prop: "yrwcCount" },
            { title: "剩余", prop: "yrwcLeftCount" },
          ],
        },
      ],
    },
   

    { title: "工单量", prop: "gdTotal" },
   
  ],
};
